import { REPAIR_TYPE } from "@/config/enum";
export const modalFormConfig = {
  labelWidth: "100px",
  itemLayout: {
    padding: "10px 40px",
  },
  colLayout: { span: 24 },
  alwaysShow: true,
  formItems: [
    {
      field: "sn",
      type: "input",
      label: "设备编号",
      placeholder: "请输入设备编号",
      otherOptions: {
        disabled: true,
      },
    },
    {
      field: "statusValue",
      type: "select",
      label: "维修状态",
      placeholder: "请选择维修状态",
      rules: [{ required: true, message: "请选择订单状态", trigger: "change" }],
      options: REPAIR_TYPE,
    },
  ],
};
